Fix changes in revno 104064 for MS-DOS.
authorEli Zaretskii <eliz@gnu.org>
Sat, 7 May 2011 11:25:05 +0000 (14:25 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 7 May 2011 11:25:05 +0000 (14:25 +0300)
commit0cd28d2d3419b9c17e75802d3b6f5a792f23bd87
treeb7cd184b1925dd5dca2aad9205ec30cc10a6770d
parent2d5b221b81228289279ef13483e57b47045575e1
Fix changes in revno 104064 for MS-DOS.

 src/callproc.c (call_process_cleanup): Don't close and unlink the
 temporary file if Fcall_process didn't create it in the first
 place.
 (Fcall_process): Don't create tempfile if stdout of the child
 process will be redirected to a file specified with `:file'.
 Don't try to re-open tempfile in that case, and set fd[0] to -1 as
 cue to call_process_cleanup not to close that handle.
src/ChangeLog
src/callproc.c